﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucLienHe.ascx.cs" Inherits="TTMarketing.UserControl.LienHe.ucLienHe" %>
<asp:ObjectDataSource ID="odsNews" runat="server" SelectMethod="getTopByType" TypeName="TTBusiness.ClassDB.clsBSNews">
    <selectparameters>
        <asp:Parameter DefaultValue="10" Name="type" Type="Int32" />
        <asp:Parameter DefaultValue="1" Name="top" Type="Int32" />
    </selectparameters>
</asp:ObjectDataSource>
<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="odsNews" BorderWidth="0px"
    ItemPlaceholderID="ph" AllowPaging="True" PageSize="15" Width="100%">
    <LayoutTemplate>
        <asp:PlaceHolder runat="server" id="ph" />
    </LayoutTemplate>
    <ItemTemplate>
        <table width="100%" id="News-l">
            <tr>
                <td align="left" valign="top">
                    <span style="font-size: 20px; font-weight: bold;">
                        <%# Eval("Title") %>
                    </span>
                </td>
            </tr>
            <tr>
                <td align="left" valign="top" style="font-weight: bold;">
                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("Summary") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("Detail") %>'></asp:Label>
                </td>
            </tr>
        </table>
    </ItemTemplate>
    <EmptyDataTemplate>
        <div class="RadListView RadListView_Default">
            <div class="rlvEmpty">
                Dữ liệu đang cập nhật</div>
        </div>
    </EmptyDataTemplate>
</telerik:RadListView>
